#ifndef _ir_H
#define _ir_H
 
#include <mcs51/8052.h>
//管脚定义
#define IRIN P3_2
 
//声明变量
extern unsigned char Read_Ir_value[5]; 
extern unsigned int wait_time;
 
//函数声明
void infrared_init(void);
 
void infrared_routine(void) __interrupt(0);

#endif